<template>
  <div id="tab-bar">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "tabBar",
};
</script>

<style>
#tab-bar {
  display: flex;
  background: #f2f2f2;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* 设置阴影 x偏移量，y偏移量，阴影半角，颜色 */
  box-shadow: 0px 0px 0px 10px 1px rgba(100, 100, 100, 0.2);
  height: 49px;
  /* z-index: 4; */
}
</style>